<template>
	
		<scroll-view class="list-scroll" scroll-y @scrolltolower="load">
			<view>
				<slot></slot>
			</view>
		</scroll-view>

</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			load(){
				this.$emit('load')
			}
		}
	}
</script>

<style lang="scss">

		.list-scroll {
			height: 100%;
			display: flex;
			flex-direction: column;
		}
	
</style>
